package ipe.dealer;

import java.util.ArrayList;

public class Game {

  static final int 		MAX_DAYS = 10;
  static final long		INIT_BALANCE = 500;
  static int 			ActualDay = 1;
  static String 		ActualCity = CityList.Cities[0];
  ArrayList<Day> 		History; 
  
  protected Day 			Today;
  protected	Player 			Dealer;
  
  public Game(String playerName){
	System.out.println("Jedneho pekneho dna si sa rozhodol, ze zacnes predavat zeleninu v okrese Senec.");
	Today = new Day(Game.ActualDay, Game.ActualCity);
	Dealer = new Player(playerName, INIT_BALANCE);
	History = new ArrayList<Day>();
  }
  
  public void endOfDay(){
	  History.add(Today);
	  Today.runEndOfDay();
  }

  
}
